package com.sicaolong.pojo;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

/**
 * @author : sicaolong
 * @description :
 * @date : 2020/10/15  11:45 下午
 */
public class Configuration {
	/**
	 * 数据源对象
	 */
	private DataSource dataSource;

	/**
	 * key：statementId
	 * value：封装好的 MappedStatement对象
	 */
	Map<String, MappedStatement> mappedStatementMap = new HashMap<>();

	public DataSource getDataSource() {
		return dataSource;
	}

	public void setDataSource(DataSource dataSource) {
		this.dataSource = dataSource;
	}

	public Map<String, MappedStatement> getMappedStatementMap() {
		return mappedStatementMap;
	}

	public void setMappedStatementMap(Map<String, MappedStatement> mappedStatementMap) {
		this.mappedStatementMap = mappedStatementMap;
	}
}